<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"><!--DVID=00001DE9-->
<HTML>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<LINK href="frmm.css" rel="stylesheet" type="text/css">
<title>慕主先鋒教會</title>
</head>
 
<body>
<div id="container"> 
  <h1><img src="frmmtitlePic.jpg" width="785" height="75"></h1>
   
  <div id="thick-colnew"> 
    <form name="form1" method="post" action="con_admin.php">
      <p>輸入特會認證號碼： 
        <input name="rid" type="text" size="5" maxlength="7" >
        or</p>
      <p>First Name: 
        <input name="firstname" type="text" size="15" maxlength="25">
        Last Name: 
        <input name="lastname" type="text" size="15" maxlength="25">
      </p>
      <p> 
        <input type="submit" name="Submit" value="Submit">
        <input type="submit" name="Submit2" value="Conference Report">
      </p>
    </form>
  </div>
{if ($nflag == "Y") }
<div id="thick-colnew1">
    <table class="frmm1">
<tr> 
   <th>rid</th>
   <th>中文姓名</th>  
   <th>牧者 Pastor</th>      
   <th>英文名First Name</th>            
   <th>英文姓 Last Name</th>
   <th>家裡電話Home Phone</th>
   <th>州State</th>
   <th>國家Country</th>
</tr>
  {section name=query loop=$data1}

    <tr> 
      <td align="left" valign="top">{$data1[query].rid}</td>
      <td align="left" valign="top">{$data1[query].cname}</td>
	  <td align="left" valign="top">{$data1[query].pastor}</td>
      <td align="left" valign="top">{$data1[query].first_name}</td>
      <td valign="top">{$data1[query].last_name}</td>
      <td valign="top">{$data1[query].home_phone}</td>
      <td valign="top">{$data1[query].state}</td>
      <td valign="top">{$data1[query].country}</td>
    </tr>

{/section}
</table>
</div>
{/if}

{if ($rid >= 10000 ) }
<div id="thick-colnew1">

 <center><h1>2009 夏令會註冊確認 <br>Confirmation Summary</h1></center>
 <table class="frmm1">
 <tr> 
 <th width="20%">日期 Registration Date</th>
 <th>特會確認號碼 Registration Number</th>
 </tr>
 <tr>
 <td> {$create_date}</td>
 <td>{$rid}</td>
 </tr>
</table>
	
    <p>{section name=customer loop=$data} </p>
    <table class="frmm1">
<tr> 
   <th>&nbsp;</th>
   <th>中文姓名</th>      
   <th>英文名First Name</th>            
   <th>英文姓 Last Name</th>
   <th>性別 Gender</th>
   <th>關係 Relationship</th>
   <th>組別 Group</th>
</tr>
    <tr> 
      <td align="left" valign="top">{$smarty.section.customer.index+1}.</td>
          <td align="left" valign="top">{$data[customer].cname}</td>
      <td align="left" valign="top">{$data[customer].first_name}</td>
      <td valign="top">{$data[customer].last_name}</td>
          <td>{if $data[customer].gender == 'M' } 男 Male {else} 女 Female{/if}</td>
	      <td>{$data[customer].relationship}</td>
          <td>{$data[customer].groups}</td>
    </tr>
</table>
<table class="frmm1">
<tr>
<th width="3%"></th>     
<th width="26%">餐數 Meal </th>
<th width="30%">參加堂數 Section to Attend</th>
<th width="38%">特別需要 Special Need</th> 
</tr>
<tr>
<td align="left" valign="top">   </td>
<td valign="TOP">
	  <table class="frmm2">
         <tr align="center" valign="top"> 
                  <td height="15"><font size="3">日期 Date</font></td>
                  <td><font size="3">7/2</font></td>
                  <td><font size="3">7/3</font></td>
                  <td><font size="3">7/4</font></td>
                  <td><font size="3">7/5</font></td>
                  <td><font size="3">7/6</font></td>
                </tr>
                <tr align="center" valign="top"> 
                  <td><font size="3">午餐 Lunch </font></td>                  
                <td><font size="2">N/A</font></td>
                  <td>{if $data[customer].meal2 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].meal4== 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].meal6 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].meal8 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>                  
                </tr>
                <tr align="center" valign="top"> 
                  <td height="35"><font size="3">晚餐 Dinner </font></td>
                  <td>{if $data[customer].meal1 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].meal3 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].meal5 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].meal7 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>              
                  <td><font size="2">N/A</font></td>
                </tr>
            </table>
</td>
      <td valign="top">
	  	  <table class="frmm2">
              <tbody>
                <tr align="center" valign="top"> 
                  <td><font size="3">日期 Date</font></td>
                  <td><font size="3">7/2</font></td>
                  <td><font size="3">7/3</font></td>
                  <td><font size="3">7/4</font></td>
                  <td><font size="3">7/5</font></td>
                  <td><font size="3">7/6</font></td>
                </tr>
                <tr align="center" valign="top"> 
                  <td><font size="3">早上Morning</font></td>
                  <td><font size="2">N/A</font></td>
				  <td>{if $data[customer].session2 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].session5 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
    			  <td>{if $data[customer].session6 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].session11 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
                </tr>
                <tr align="center" valign="top"> 
                  <td><font size="3" >下午Afternoon</font></td>
                  
                <td><font size="3" > <font size="2">N/A</font></font></td>
				  <td>{if $data[customer].session3 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
    			  <td>{if $data[customer].session6 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].session9 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
                  <td><font size="2">N/A</font></td>
                </tr>
                <tr align="center" valign="top"> 
                  <td><font size="3">晚上Evening</font></td>
				  <td>{if $data[customer].session1 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
    			  <td>{if $data[customer].session4 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
				  <td>{if $data[customer].session7 == 1 } {html_image file='check.gif'} {else}  {html_image file='uncheck.gif'} {/if} </td>
                  <td><font size="2">N/A</font></td>
				  <td>&nbsp;</td>
                </tr>
              </tbody>
            </table>
	  </td>
          <td valign="TOP"> {$data[customer].special_need}</td>    
    </tr>  
  </table>
{/section} 
<center>
      <br>
      <strong><font color="#000000">* 您可以印下此頁做為特會註冊憑據 *</font></strong><br> 
    </center>

</div>
{/if}
</div>

</body>
</html>